<div class="zs-body" data-ng-init="formInit('gztaskview', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{id:0},
        pageSize:10,
    }) && loadData('gztaskview');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">地图配置</a>
            <i class="right-arr"></i>
            <a href="javascript:;">收文视图</a>
        </div>
        <div class="option">
            <input type="button" class="zs-btn orange" value="新建" 
                ng-click="addRow('gztaskview') && openWindow('edit');"/>
            <input type="button" class="zs-btn orange" value="编辑" 
                ng-click="editRow('gztaskview', gztaskview.sRows[0]) && openWindow('edit')"/>
            <input type="button" class="zs-btn orange" value="删除 "
                ng-click="delEntitys('gztaskview')"/>
        </div>
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="ID" ng-model="gztaskview.queryObject['id']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="创建人部门名称" ng-model="gztaskview.queryObject['bmmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="事项说明" ng-model="gztaskview.queryObject['sxsm']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="创建人ID" ng-model="gztaskview.queryObject['cjrid']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="创建人名称" ng-model="gztaskview.queryObject['cjrmc']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_cjsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gztaskview.queryObject['cjsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="项目名称" ng-model="gztaskview.queryObject['xmmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="发步ID" ng-model="gztaskview.queryObject['fwid']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="接收人ID" ng-model="gztaskview.queryObject['jsrid']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="接收人名称" ng-model="gztaskview.queryObject['jsrmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="接收人机构" ng-model="gztaskview.queryObject['jsrjg']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_qrsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gztaskview.queryObject['qrsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="是否已确认" ng-model="gztaskview.queryObject['sfqrName:like']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_jssj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gztaskview.queryObject['jssj']" >
				   	</ag-Datebox>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_kssj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gztaskview.queryObject['kssj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="组织机构名称" ng-model="gztaskview.queryObject['zzjgmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="状态" ng-model="gztaskview.queryObject['zt']"/>
                </span>
            </div>
            <div class="operation item">
                <a class="ope-1" ng-click="loadData('gztaskview')"></a>
                <a class="ope-2"></a>
            </div>
            <div class="switch">
                
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gztaskview','allCheckbox');" />
                                    </th>
									<th>ID</th>
									<th>创建人部门名称</th>
									<th>事项说明</th>
									<th>创建人ID</th>
									<th>创建人名称</th>
									<th>创建时间</th>
									<th>项目名称</th>
									<th>发步ID</th>
									<th>接收人ID</th>
									<th>接收人名称</th>
									<th>接收人机构</th>
									<th>确认时间</th>
									<th>是否已确认</th>
									<th>结束时间</th>
									<th>开始时间</th>
									<th>组织机构名称</th>
									<th>状态</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gztaskview.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gztaskview',r);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  ID -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.id"></label>
                                        </a>
                                   </td>
									<!--  创建人部门名称 -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.bmmc"></label>
                                        </a>
                                   </td>
									<!--  事项说明 -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.sxsm"></label>
                                        </a>
                                   </td>
									<!--  创建人ID -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.cjrid"></label>
                                        </a>
                                   </td>
									<!--  创建人名称 -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.cjrmc"></label>
                                        </a>
                                   </td>
									<!--  创建时间 -->
								   <td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.cjsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  项目名称 -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.xmmc"></label>
                                        </a>
                                   </td>
									<!--  发步ID -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.fwid"></label>
                                        </a>
                                   </td>
									<!--  接收人ID -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.jsrid"></label>
                                        </a>
                                   </td>
									<!--  接收人名称 -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.jsrmc"></label>
                                        </a>
                                   </td>
									<!--  接收人机构 -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.jsrjg"></label>
                                        </a>
                                   </td>
									<!--  确认时间 -->
								   <td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.qrsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  是否已确认 -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.sfqrName"></label>
                                        </a>
                                   </td>
									<!--  结束时间 -->
								   <td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.jssj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  开始时间 -->
								   <td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.kssj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  组织机构名称 -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.zzjgmc"></label>
                                        </a>
                                   </td>
									<!--  状态 -->
            						<td>
                                        <a ng-click="editRow('gztaskview',r) && openWindow('edit');">
                                            <label ng-bind="r.zt"></label>
                                        </a>
                                   </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gztaskview'></ag-Page>
                </div>
            </div>
        </div>

        <div ag-Window id="edit" title="收文视图编辑" width='560px' height='286px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<tr>
                                <td class="text" width="20%">ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.id" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">创建人部门名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.bmmc" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">事项说明</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.sxsm" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">创建人ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.cjrid" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">创建人名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.cjrmc" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">创建时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_cjsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gztaskview.editRow.cjsj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">项目名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.xmmc" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">发步ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.fwid" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">接收人ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.jsrid" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">接收人名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.jsrmc" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">接收人机构</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.jsrjg" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">确认时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_qrsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gztaskview.editRow.qrsj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">是否已确认</td>
                                <td class="left" width="30%">
                                	<ag-Combobox style="width:175px;height:28px;"
                                        para="{	uDictionary:true,
                                        		dictionary:'p_yesorno'}"
                                        ng-model="gztaskview.editRow.sfqr"
                                        text-Value="gztaskview.editRow.sfqrName" />
                                	<!--<input type="text" ng-model="gztaskview.editRow.sfqr" class="zs-input" />-->
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">结束时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_jssj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gztaskview.editRow.jssj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">开始时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_kssj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gztaskview.editRow.kssj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">组织机构名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.zzjgmc" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">状态</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gztaskview.editRow.zt" class="zs-input" />
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
                                        ng-click="formValidate(form) && save('gztaskview', gztaskview.editRow, saveCloseWindow)"/>
                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
                                        ng-click="closeWindow('edit')" />
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>